package com.example.secondhandmall.entity;

import android.widget.ImageView;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


public class GoodsEntity implements Serializable {
    @SerializedName("del")
    private int del;
    @SerializedName("goodsAddress")
    private String goodsAddress;
    @SerializedName("goodsName")
    private String goodsName;
    @SerializedName("goodsPrice")
    private double goodsPrice;
    @SerializedName("goodsSignature")
    private String goodsSignature;
    @SerializedName("goodsType")
    private String goodsType;
    @SerializedName("id")
    private int id;
    @SerializedName("isCollect")
    private boolean isCollect;
    @SerializedName("userId")
    private String userId;
    @SerializedName("userPhoto")
    private String userPhoto;
    @SerializedName("photoUrls")
    private List<PhotoEntity> photoUrls;

    public int getDel() {
        return del;
    }

    public void setDel(int del) {
        this.del = del;
    }

    public String getGoodsAddress() {
        return goodsAddress;
    }

    public void setGoodsAddress(String goodsAddress) {
        this.goodsAddress = goodsAddress;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getGoodsSignature() {
        return goodsSignature;
    }

    public void setGoodsSignature(String goodsSignature) {
        this.goodsSignature = goodsSignature;
    }

    public String getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public boolean isIsCollect() {
        return isCollect;
    }

    public void setIsCollect(boolean isCollect) {
        this.isCollect = isCollect;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserPhoto() {
        return userPhoto;
    }

    public void setUserPhoto(String userPhoto) {
        this.userPhoto = userPhoto;
    }

    public List<PhotoEntity> getPhotoUrls() {
        return photoUrls;
    }

    public void setPhotoUrls(List<PhotoEntity> photoUrls) {
        this.photoUrls = photoUrls;
    }

    @Override
    public String toString() {
        return "GoodsEntity{" +
                "del=" + del +
                ", goodsAddress='" + goodsAddress + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", goodsPrice=" + goodsPrice +
                ", goodsSignature='" + goodsSignature + '\'' +
                ", goodsType='" + goodsType + '\'' +
                ", id=" + id +
                ", isCollect=" + isCollect +
                ", userId='" + userId + '\'' +
                ", userPhoto='" + userPhoto + '\'' +
                ", photoUrls=" + photoUrls +
                '}';
    }
}